package com.woniuxy.exam.mapper;

import com.woniuxy.exam.entity.BookCategory;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface BookCategoryMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(BookCategory record);

   // @Select("select * from tb_book_category where id = #{id}")
    BookCategory selectByPrimaryKey(Integer id);

    List<BookCategory> selectAll();

    int updateByPrimaryKey(BookCategory record);
}